package main

type DataA struct {
	*BaseObject
	val int
}

func NewDataA(val int) *DataA {
	g_ := &DataA{
		BaseObject: NewObject(),
		val:        val,
	}

	Map_Objects[g_.m_id] = g_
	return g_
}

func (o *DataA) GetValue() int {
	return o.val
}

func (o *GL) GetDataA(v int) *DataA {
	ret := NewDataA(v)
	return ret
}
